<extend name="Public:owpage"/>
<block name="banner"><img src="__PUBLIC__/ow/img/20150204040337754.jpg"></block>
<block name="left-box">
    <div class="title1">新闻资讯</div>
    <php>
        $terms=sp_get_child_terms(19); //获取子分类信息
    </php>

    <ul class="ul1">
        <volist name="terms" id="vo">
            <li>
                <a href="{:leuu('list/index',array('id'=>$vo['term_id']))}">
                    {$vo.name}
                </a>
            </li>
        </volist>
    </ul>
</block>

<block name="main">
    <php>
        $lists = sp_sql_posts_paged_bykeyword($keyword,"",20);
    </php>
    <ul class="list">
        <volist name="lists['posts']" id="vo">
            <php>
                $smeta=json_decode($vo['smeta'], true);
            </php>
            <li>
                <p>
                    <span class="fr">[ {:date('m-d h:i',strtotime($vo['post_date']))} ]</span>
                    <a href="{:leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']))}" target="_blank">
                        <b>{$vo.post_title}</b>
                    </a>
                </p>
                <p class="p12"> {$vo.post_excerpt} </p>
            </li>
        </volist>
    </ul>

    <notempty name="lists.page">
        <div id="pages" class="text-c clearfix" style="margin-right:15px;">
            <ul>{$lists['page']}</ul>
        </div>
    </notempty>
</block>
